//
//  LLT_HeroModel.m
//  CoderLLT
//
//  Created by lanou3g on 15/12/9.
//  Copyright © 2015年 刘晓萌. All rights reserved.
//

#import "LLT_HeroModel.h"

@implementation LLT_HeroModel


#pragma mark --- model的所属方法

/**
 * 销毁model
 */
-(void)dealloc{
    self.coin = nil;
    self.heroID = nil;
    self.image_url = nil;
    self.key = nil;
    self.match_count = nil;
    self.money = nil;
    self.name = nil;
    self.use_rate = nil;
    self.use_rate_percent = nil;
    self.win_rate = nil;
    self.win_rate_percent =nil;
}


/**
 * 通过KVC赋值
 */

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{

    if ([key isEqualToString:@"id"]) {
        _heroID = value;
    }

}

@end
